package com.wyz.saas.app.set.ui

import android.graphics.Bitmap
import android.util.Log
import android.view.View
import com.atom.annotation.Impl
import com.atom.module.mvvm.base.AbstractFragment
import com.wyz.saas.api.set.AppSetDescriptor
import com.wyz.saas.app.R
import com.wyz.saas.common.set.AbstractAppSetDescriptorButton

@Impl(api = AppSetDescriptor::class)
class AppSetAuthHouseDescirptor : AbstractAppSetDescriptorButton() {

    companion object {
        const val NAME = "mine_House"
    }

    override fun onClick(fragment: AbstractFragment<*, *>, view: View) {
        Log.e("AppSetDescriptor", "onClick ?>>>>>>")
    }

    override fun getTip(): String {
        return "房产"
    }

    override fun getGroup(): String {
        return "MINE"
    }

    override fun getIcon(): Bitmap? {
        return mApiContext.getBitmap(R.mipmap.icon_mine)
    }

    override fun getLabel(): String {
        return "我的房产"
    }
}